cae4686fc61413691c623bcdd6eb63423e99dd22,src/test/java/org/zwobble/mammoth/tests/conversion/DocumentToHtmlTests.java,DocumentToHtmlTests,noteReferencesAreConvertedToLinksToReferenceBodyAfterMainBody,#,283

Before Change


        Document document = new Document(
            list(make(a(PARAGRAPH, with(CHILDREN, list(
                runWithText("Knock knock"),
                make(a(RUN, with(CHILDREN, list(new NoteReference(NoteType.FOOTNOTE, "4")))))))))),
            new Notes(list(new Note(NoteType.FOOTNOTE, "4", list(paragraphWithText("Who's there?"))))));

        assertThat(

After Change


        Document document = new Document(
            list(paragraph(withChildren(
                runWithText("Knock knock"),
                run(withChildren(new NoteReference(NoteType.FOOTNOTE, "4")))))),
            new Notes(list(new Note(NoteType.FOOTNOTE, "4", list(paragraphWithText("Who's there?"))))));

        assertThat(